Automattic\Jetpack\Backup\V0004\REST_Controller S

Total Complexity 48
Dependencies 8
Dependents 0
Total lines 710
Lines of code 447
Logical lines of code 146
Comment lines 175
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
register_rest_routes()
A
31 5 160
get_site_backup_undo_event()
A
43 11 48
fetch_wc_orders_backup()
A
48 7 33
fetch_database_object_backup()
S
48 4 33
fetch_comment_backup()
S
49 3 31
get_site_backup_preflight()
S
52 3 27
fetch_post_backup()
S
55 2 20
get_allowed_object_types()
S
51 1 32
fetch_term_backup()
S
61 2 12
fetch_user_backup()
S
61 2 12
backup_permissions_callback()
S
64 2 10
install_backup_helper_script()
S
63 2 10
delete_backup_helper_script()
S
65 2 9
fetch_options_backup()
S
69 1 6
get_option_row()
S
74 1 4